﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using QuanLiBongDa.DataAccessLayer;
using System.Windows.Forms;
namespace QuanLiBongDa.BusinessLogicLayer
{
    class GhiNhanKetQuaBLO
    {
        CauThuDAO ct = new CauThuDAO();
        LoaiBanThangDAO lbt = new LoaiBanThangDAO();
        CT_TranDauDAO cttd = new CT_TranDauDAO();
        public DataTable LoadCTTD(string str)
        {
            return SQLService.Table_Reader(str);
        }
        public bool Insert_CTTD(CT_TranDauDTO td)
        {
            return cttd.Insert_CTTD(td);
        }
        public bool Update_CTTD(CT_TranDauDTO td)
        {
            return cttd.Update_CTTD(td);
        }
        public bool Delete_CTTD(CT_TranDauDTO td)
        {
            return cttd.Delete_CTTD(td);
        }
        public void MaDB_MaTD(ComboBox a,ComboBox b)
        {
            cttd.MaDB(a, b);
        }
        public void MaTD(ComboBox c)
        {
            cttd.MaTD(c);
        }
        public DataTable TimLMBT_Ten(string str)
        {
            return lbt.TimMLBT_Ten(str);
        }
        public DataTable TimMCT_Ten(string str)
        {
            return ct.TimMCT_Ten(str);
        }
        public void MLBT(ComboBox maloai)
        {
            lbt.MaLBT(maloai);
        }
        public void MaCT_MaTD(ComboBox a,ComboBox b)
        {
            cttd.MaCT(a, b);
        }
    }
}
